package com.jbit.service.impl;

import com.jbit.dto.DmItemComment;
import com.jbit.mapper.DmItemCommentMapper;
import com.jbit.service.DmItemCommentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DmItemCommentServiceImpl implements DmItemCommentService {
    @Resource
    private DmItemCommentMapper dmItemCommentMapper;
    @Override
    public List<DmItemComment> queryByItemId(Integer itemId) {
        return dmItemCommentMapper.queryByItemId(itemId);
    }
}
